<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- js的引入方法1：直接写在标签里 -->
    <button onclick="console.log('你好')">
        点击测试
    </button>

    <!-- js的引入方法2：写在script中 -->
     <script>
        console.log('你好你好你好')
     </script>

     <!-- js的引入方法3：外部引入 -->
      <script src="./js/01.js测试.js"></script>
</body>
</html>